package cn.yqn.org.domain;

import cn.yqn.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    private String username;

    private String phone;

    private String email;

    private String salt;  // 盐值

    private String password;

    private Integer age;

    private Integer state = 1;

    private Long department_id;

    private Long logininfo_id;  // 登录信息

    private Long shop_id; // 店铺信息

    private Department department;

    // 确认密码,接收前端返回字段
    public String ComfirmPassword;

    // 接收前端的角色信息
    private Long role_id;
}
